// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.32.0
// 	protoc        v3.21.12
// source: protos/router.proto

package proto

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type RouterStatus int32

const (
	RouterStatus_CLOSED RouterStatus = 0
	RouterStatus_OPENED RouterStatus = 1
)

// Enum value maps for RouterStatus.
var (
	RouterStatus_name = map[int32]string{
		0: "CLOSED",
		1: "OPENED",
	}
	RouterStatus_value = map[string]int32{
		"CLOSED": 0,
		"OPENED": 1,
	}
)

func (x RouterStatus) Enum() *RouterStatus {
	p := new(RouterStatus)
	*p = x
	return p
}

func (x RouterStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (RouterStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_protos_router_proto_enumTypes[0].Descriptor()
}

func (RouterStatus) Type() protoreflect.EnumType {
	return &file_protos_router_proto_enumTypes[0]
}

func (x RouterStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use RouterStatus.Descriptor instead.
func (RouterStatus) EnumDescriptor() ([]byte, []int) {
	return file_protos_router_proto_rawDescGZIP(), []int{0}
}

type Router struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Id      string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address string       `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Status  RouterStatus `protobuf:"varint,3,opt,name=status,proto3,enum=spqr.RouterStatus" json:"status,omitempty"`
}

func (x *Router) Reset() {
	*x = Router{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_router_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *Router) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Router) ProtoMessage() {}

func (x *Router) ProtoReflect() protoreflect.Message {
	mi := &file_protos_router_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Router.ProtoReflect.Descriptor instead.
func (*Router) Descriptor() ([]byte, []int) {
	return file_protos_router_proto_rawDescGZIP(), []int{0}
}

func (x *Router) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *Router) GetAddress() string {
	if x != nil {
		return x.Address
	}
	return ""
}

func (x *Router) GetStatus() RouterStatus {
	if x != nil {
		return x.Status
	}
	return RouterStatus_CLOSED
}

type ListRoutersRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *ListRoutersRequest) Reset() {
	*x = ListRoutersRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_router_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *ListRoutersRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListRoutersRequest) ProtoMessage() {}

func (x *ListRoutersRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_router_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListRoutersRequest.ProtoReflect.Descriptor instead.
func (*ListRoutersRequest) Descriptor() ([]byte, []int) {
	return file_protos_router_proto_rawDescGZIP(), []int{1}
}

type ListRoutersReply struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Routers []*Router `protobuf:"bytes,1,rep,name=routers,proto3" json:"routers,omitempty"`
}

func (x *ListRoutersReply) Reset() {
	*x = ListRoutersReply{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_router_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *ListRoutersReply) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListRoutersReply) ProtoMessage() {}

func (x *ListRoutersReply) ProtoReflect() protoreflect.Message {
	mi := &file_protos_router_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListRoutersReply.ProtoReflect.Descriptor instead.
func (*ListRoutersReply) Descriptor() ([]byte, []int) {
	return file_protos_router_proto_rawDescGZIP(), []int{2}
}

func (x *ListRoutersReply) GetRouters() []*Router {
	if x != nil {
		return x.Routers
	}
	return nil
}

type AddRouterRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Router *Router `protobuf:"bytes,1,opt,name=router,proto3" json:"router,omitempty"`
}

func (x *AddRouterRequest) Reset() {
	*x = AddRouterRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_router_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *AddRouterRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AddRouterRequest) ProtoMessage() {}

func (x *AddRouterRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_router_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AddRouterRequest.ProtoReflect.Descriptor instead.
func (*AddRouterRequest) Descriptor() ([]byte, []int) {
	return file_protos_router_proto_rawDescGZIP(), []int{3}
}

func (x *AddRouterRequest) GetRouter() *Router {
	if x != nil {
		return x.Router
	}
	return nil
}

type AddRouterReply struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (x *AddRouterReply) Reset() {
	*x = AddRouterReply{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_router_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *AddRouterReply) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AddRouterReply) ProtoMessage() {}

func (x *AddRouterReply) ProtoReflect() protoreflect.Message {
	mi := &file_protos_router_proto_msgTypes[4]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AddRouterReply.ProtoReflect.Descriptor instead.
func (*AddRouterReply) Descriptor() ([]byte, []int) {
	return file_protos_router_proto_rawDescGZIP(), []int{4}
}

func (x *AddRouterReply) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

type RemoveRouterRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (x *RemoveRouterRequest) Reset() {
	*x = RemoveRouterRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_router_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *RemoveRouterRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RemoveRouterRequest) ProtoMessage() {}

func (x *RemoveRouterRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_router_proto_msgTypes[5]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RemoveRouterRequest.ProtoReflect.Descriptor instead.
func (*RemoveRouterRequest) Descriptor() ([]byte, []int) {
	return file_protos_router_proto_rawDescGZIP(), []int{5}
}

func (x *RemoveRouterRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

type RemoveRouterReply struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *RemoveRouterReply) Reset() {
	*x = RemoveRouterReply{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_router_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *RemoveRouterReply) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RemoveRouterReply) ProtoMessage() {}

func (x *RemoveRouterReply) ProtoReflect() protoreflect.Message {
	mi := &file_protos_router_proto_msgTypes[6]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RemoveRouterReply.ProtoReflect.Descriptor instead.
func (*RemoveRouterReply) Descriptor() ([]byte, []int) {
	return file_protos_router_proto_rawDescGZIP(), []int{6}
}

type SyncMetadataRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Router *Router `protobuf:"bytes,1,opt,name=router,proto3" json:"router,omitempty"`
}

func (x *SyncMetadataRequest) Reset() {
	*x = SyncMetadataRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_router_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *SyncMetadataRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SyncMetadataRequest) ProtoMessage() {}

func (x *SyncMetadataRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_router_proto_msgTypes[7]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SyncMetadataRequest.ProtoReflect.Descriptor instead.
func (*SyncMetadataRequest) Descriptor() ([]byte, []int) {
	return file_protos_router_proto_rawDescGZIP(), []int{7}
}

func (x *SyncMetadataRequest) GetRouter() *Router {
	if x != nil {
		return x.Router
	}
	return nil
}

type SyncMetadataReply struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *SyncMetadataReply) Reset() {
	*x = SyncMetadataReply{}
	if protoimpl.UnsafeEnabled {
		mi := &file_protos_router_proto_msgTypes[8]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *SyncMetadataReply) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SyncMetadataReply) ProtoMessage() {}

func (x *SyncMetadataReply) ProtoReflect() protoreflect.Message {
	mi := &file_protos_router_proto_msgTypes[8]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SyncMetadataReply.ProtoReflect.Descriptor instead.
func (*SyncMetadataReply) Descriptor() ([]byte, []int) {
	return file_protos_router_proto_rawDescGZIP(), []int{8}
}

var File_protos_router_proto protoreflect.FileDescriptor

var file_protos_router_proto_rawDesc = []byte{
	0x0a, 0x13, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x73, 0x70, 0x71, 0x72, 0x22, 0x5e, 0x0a, 0x06, 0x52,
	0x6f, 0x75, 0x74, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
	0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
	0x12, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61,
	0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x4c,
	0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x22, 0x3a, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73,
	0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x26, 0x0a, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73,
	0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x52, 0x6f,
	0x75, 0x74, 0x65, 0x72, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73, 0x22, 0x38, 0x0a,
	0x10, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x12, 0x24, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x0b, 0x32, 0x0c, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52,
	0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x22, 0x20, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f,
	0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x25, 0x0a, 0x13, 0x52, 0x65, 0x6d,
	0x6f, 0x76, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
	0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
	0x22, 0x13, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72,
	0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x3b, 0x0a, 0x13, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x74,
	0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x06,
	0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x73,
	0x70, 0x71, 0x72, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74,
	0x65, 0x72, 0x22, 0x13, 0x0a, 0x11, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
	0x74, 0x61, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x2a, 0x26, 0x0a, 0x0c, 0x52, 0x6f, 0x75, 0x74, 0x65,
	0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45,
	0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x50, 0x45, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x32,
	0x9b, 0x02, 0x0a, 0x0d, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 0x12, 0x41, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73,
	0x12, 0x18, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74,
	0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x73, 0x70, 0x71,
	0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x70,
	0x6c, 0x79, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65,
	0x72, 0x12, 0x16, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x75, 0x74,
	0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x73, 0x70, 0x71, 0x72,
	0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
	0x00, 0x12, 0x44, 0x0a, 0x0c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65,
	0x72, 0x12, 0x19, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52,
	0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x73,
	0x70, 0x71, 0x72, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72,
	0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x0c, 0x53, 0x79, 0x6e, 0x63, 0x4d,
	0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x19, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x53,
	0x79, 0x6e, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65,
	0x73, 0x74, 0x1a, 0x17, 0x2e, 0x73, 0x70, 0x71, 0x72, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65,
	0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x0c, 0x5a,
	0x0a, 0x73, 0x70, 0x71, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x33,
}

var (
	file_protos_router_proto_rawDescOnce sync.Once
	file_protos_router_proto_rawDescData = file_protos_router_proto_rawDesc
)

func file_protos_router_proto_rawDescGZIP() []byte {
	file_protos_router_proto_rawDescOnce.Do(func() {
		file_protos_router_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_router_proto_rawDescData)
	})
	return file_protos_router_proto_rawDescData
}

var file_protos_router_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_protos_router_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_protos_router_proto_goTypes = []interface{}{
	(RouterStatus)(0),           // 0: spqr.RouterStatus
	(*Router)(nil),              // 1: spqr.Router
	(*ListRoutersRequest)(nil),  // 2: spqr.ListRoutersRequest
	(*ListRoutersReply)(nil),    // 3: spqr.ListRoutersReply
	(*AddRouterRequest)(nil),    // 4: spqr.AddRouterRequest
	(*AddRouterReply)(nil),      // 5: spqr.AddRouterReply
	(*RemoveRouterRequest)(nil), // 6: spqr.RemoveRouterRequest
	(*RemoveRouterReply)(nil),   // 7: spqr.RemoveRouterReply
	(*SyncMetadataRequest)(nil), // 8: spqr.SyncMetadataRequest
	(*SyncMetadataReply)(nil),   // 9: spqr.SyncMetadataReply
}
var file_protos_router_proto_depIdxs = []int32{
	0, // 0: spqr.Router.status:type_name -> spqr.RouterStatus
	1, // 1: spqr.ListRoutersReply.routers:type_name -> spqr.Router
	1, // 2: spqr.AddRouterRequest.router:type_name -> spqr.Router
	1, // 3: spqr.SyncMetadataRequest.router:type_name -> spqr.Router
	2, // 4: spqr.RouterService.ListRouters:input_type -> spqr.ListRoutersRequest
	4, // 5: spqr.RouterService.AddRouter:input_type -> spqr.AddRouterRequest
	6, // 6: spqr.RouterService.RemoveRouter:input_type -> spqr.RemoveRouterRequest
	8, // 7: spqr.RouterService.SyncMetadata:input_type -> spqr.SyncMetadataRequest
	3, // 8: spqr.RouterService.ListRouters:output_type -> spqr.ListRoutersReply
	5, // 9: spqr.RouterService.AddRouter:output_type -> spqr.AddRouterReply
	7, // 10: spqr.RouterService.RemoveRouter:output_type -> spqr.RemoveRouterReply
	9, // 11: spqr.RouterService.SyncMetadata:output_type -> spqr.SyncMetadataReply
	8, // [8:12] is the sub-list for method output_type
	4, // [4:8] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_protos_router_proto_init() }
func file_protos_router_proto_init() {
	if File_protos_router_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_protos_router_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Router); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_router_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ListRoutersRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_router_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ListRoutersReply); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_router_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*AddRouterRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_router_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*AddRouterReply); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_router_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RemoveRouterRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_router_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RemoveRouterReply); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_router_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SyncMetadataRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_protos_router_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SyncMetadataReply); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_protos_router_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   9,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_protos_router_proto_goTypes,
		DependencyIndexes: file_protos_router_proto_depIdxs,
		EnumInfos:         file_protos_router_proto_enumTypes,
		MessageInfos:      file_protos_router_proto_msgTypes,
	}.Build()
	File_protos_router_proto = out.File
	file_protos_router_proto_rawDesc = nil
	file_protos_router_proto_goTypes = nil
	file_protos_router_proto_depIdxs = nil
}
